package com.zx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement//开启事务
@SpringBootApplication
@MapperScan({"com.zx.erp.market.mapper", "com.zx.erp.purchase.mapper", "com.zx.erp.statis.mapper", "com.zx.erp.repo.mapper", "com.zx.erp.sys.mapper"})
public class ErpApplication {

    public static void main(String[] args) {
        SpringApplication.run(ErpApplication.class, args);
    }

}
